Optimal. Leaf size=195 \[ -\frac{(x+8) \left (3 x^2+5 x+2\right )^{7/2}}{8 (2 x+3)^4}+\frac{7 (43 x+93) \left (3 x^2+5 x+2\right )^{5/2}}{96 (2 x+3)^3}-\frac{35 (343 x+736) \left (3 x^2+5 x+2\right )^{3/2}}{768 (2 x+3)^2}+\frac{35 (2701 x+5795) \sqrt{3 x^2+5 x+2}}{1024 (2 x+3)}-\frac{744275 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{4096 \sqrt{3}}+\frac{192171 \sqrt{5} \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{4096} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.130179, antiderivative size = 195, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {812, 843, 621, 206, 724} \[ -\frac{(x+8) \left (3 x^2+5 x+2\right )^{7/2}}{8 (2 x+3)^4}+\frac{7 (43 x+93) \left (3 x^2+5 x+2\right )^{5/2}}{96 (2 x+3)^3}-\frac{35 (343 x+736) \left (3 x^2+5 x+2\right )^{3/2}}{768 (2 x+3)^2}+\frac{35 (2701 x+5795) \sqrt{3 x^2+5 x+2}}{1024 (2 x+3)}-\frac{744275 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{4096 \sqrt{3}}+\frac{192171 \sqrt{5} \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{4096} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 812
Rule 843
Rule 621
Rule 206
Rule 724
Rubi steps
\begin{align*} \int \frac{(5-x) \left (2+5 x+3 x^2\right )^{7/2}}{(3+2 x)^5} \, dx &=-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}-\frac{7}{128} \int \frac{(-288-344 x) \left (2+5 x+3 x^2\right )^{5/2}}{(3+2 x)^4} \, dx\\ &=\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}+\frac{35 \int \frac{(-14064-16464 x) \left (2+5 x+3 x^2\right )^{3/2}}{(3+2 x)^3} \, dx}{9216}\\ &=-\frac{35 (736+343 x) \left (2+5 x+3 x^2\right )^{3/2}}{768 (3+2 x)^2}+\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}-\frac{35 \int \frac{(-443136-518592 x) \sqrt{2+5 x+3 x^2}}{(3+2 x)^2} \, dx}{98304}\\ &=\frac{35 (5795+2701 x) \sqrt{2+5 x+3 x^2}}{1024 (3+2 x)}-\frac{35 (736+343 x) \left (2+5 x+3 x^2\right )^{3/2}}{768 (3+2 x)^2}+\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}+\frac{35 \int \frac{-6977664-8165760 x}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx}{786432}\\ &=\frac{35 (5795+2701 x) \sqrt{2+5 x+3 x^2}}{1024 (3+2 x)}-\frac{35 (736+343 x) \left (2+5 x+3 x^2\right )^{3/2}}{768 (3+2 x)^2}+\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}-\frac{744275 \int \frac{1}{\sqrt{2+5 x+3 x^2}} \, dx}{4096}+\frac{960855 \int \frac{1}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx}{4096}\\ &=\frac{35 (5795+2701 x) \sqrt{2+5 x+3 x^2}}{1024 (3+2 x)}-\frac{35 (736+343 x) \left (2+5 x+3 x^2\right )^{3/2}}{768 (3+2 x)^2}+\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}-\frac{744275 \operatorname{Subst}\left (\int \frac{1}{12-x^2} \, dx,x,\frac{5+6 x}{\sqrt{2+5 x+3 x^2}}\right )}{2048}-\frac{960855 \operatorname{Subst}\left (\int \frac{1}{20-x^2} \, dx,x,\frac{-7-8 x}{\sqrt{2+5 x+3 x^2}}\right )}{2048}\\ &=\frac{35 (5795+2701 x) \sqrt{2+5 x+3 x^2}}{1024 (3+2 x)}-\frac{35 (736+343 x) \left (2+5 x+3 x^2\right )^{3/2}}{768 (3+2 x)^2}+\frac{7 (93+43 x) \left (2+5 x+3 x^2\right )^{5/2}}{96 (3+2 x)^3}-\frac{(8+x) \left (2+5 x+3 x^2\right )^{7/2}}{8 (3+2 x)^4}-\frac{744275 \tanh ^{-1}\left (\frac{5+6 x}{2 \sqrt{3} \sqrt{2+5 x+3 x^2}}\right )}{4096 \sqrt{3}}+\frac{192171 \sqrt{5} \tanh ^{-1}\left (\frac{7+8 x}{2 \sqrt{5} \sqrt{2+5 x+3 x^2}}\right )}{4096}\\ \end{align*}
Mathematica [A] time = 0.125655, size = 130, normalized size = 0.67 \[ \frac{-\frac{12 \sqrt{3 x^2+5 x+2} \left (3456 x^7-12864 x^6-38288 x^5-253688 x^4-2869312 x^3-9107922 x^2-11295211 x-4933171\right )}{(2 x+3)^4}-576513 \sqrt{5} \tanh ^{-1}\left (\frac{-8 x-7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )-744275 \sqrt{3} \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{9 x^2+15 x+6}}\right )}{12288} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 295, normalized size = 1.5 \begin{align*} -{\frac{13}{320} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{9}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-4}}+{\frac{3}{100} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{9}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-3}}-{\frac{1263}{4000} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{9}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-2}}-{\frac{7395+8874\,x}{1000} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{7}{2}}}}-{\frac{50505+60606\,x}{4000} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{5}{2}}}}+{\frac{1479}{500} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{9}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-1}}-{\frac{30345+36414\,x}{1280} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}}}-{\frac{122045+146454\,x}{2048}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}}}-{\frac{744275\,\sqrt{3}}{12288}\ln \left ({\frac{\sqrt{3}}{3} \left ({\frac{5}{2}}+3\,x \right ) }+\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}} \right ) }-{\frac{192171\,\sqrt{5}}{4096}{\it Artanh} \left ({\frac{2\,\sqrt{5}}{5} \left ( -{\frac{7}{2}}-4\,x \right ){\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}}}} \right ) }+{\frac{27453}{4000} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{7}{2}}}}+{\frac{192171}{16000} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{5}{2}}}}+{\frac{64057}{2560} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}}}+{\frac{192171}{4096}\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 2.04712, size = 385, normalized size = 1.97 \begin{align*} \frac{3789}{4000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}} - \frac{13 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{20 \,{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} + \frac{6 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{25 \,{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac{1263 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{9}{2}}}{1000 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac{30303}{2000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x - \frac{9849}{16000} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} + \frac{1479 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}}}{200 \,{\left (2 \, x + 3\right )}} - \frac{18207}{640} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} x + \frac{3367}{2560} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} - \frac{73227}{1024} \, \sqrt{3 \, x^{2} + 5 \, x + 2} x - \frac{744275}{12288} \, \sqrt{3} \log \left (\sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2} + 3 \, x + \frac{5}{2}\right ) - \frac{192171}{4096} \, \sqrt{5} \log \left (\frac{\sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac{5}{2 \,{\left | 2 \, x + 3 \right |}} - 2\right ) + \frac{35063}{1024} \, \sqrt{3 \, x^{2} + 5 \, x + 2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.54887, size = 612, normalized size = 3.14 \begin{align*} \frac{744275 \, \sqrt{3}{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )} \log \left (-4 \, \sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (6 \, x + 5\right )} + 72 \, x^{2} + 120 \, x + 49\right ) + 576513 \, \sqrt{5}{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )} \log \left (\frac{4 \, \sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (8 \, x + 7\right )} + 124 \, x^{2} + 212 \, x + 89}{4 \, x^{2} + 12 \, x + 9}\right ) - 24 \,{\left (3456 \, x^{7} - 12864 \, x^{6} - 38288 \, x^{5} - 253688 \, x^{4} - 2869312 \, x^{3} - 9107922 \, x^{2} - 11295211 \, x - 4933171\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{24576 \,{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.03633, size = 859, normalized size = 4.41 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]